/* Structure */
html {
    scroll-behavior: smooth;
}

body { background:#F1F1F1; }

.center-top-notif {
    width: 300px !important; 
    margin-left: -150px !important; 
    position: fixed !important; 
    left: 50% !important; 
    display: none;
    z-index: 99 !important;
}

h1:not(body > div > section.hero.is-large > div.hero-body > div > h1) {
    font-size: 3.5em !important;
    margin-bottom: .5rem !important;
}

.container {
    background-color: rgba(0, 0, 0, 0.075);
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    background: #fff;
    border-radius: 2px;
}


/* Hero */
.hero {
    background-image: url("../images/severi_hero_mobile.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.hero .hero-head .navbar .container {
    background-color: transparent;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.5);
}

#navbarMenuHero > div > a.navbar-item,
#navbarMenuHero > div > a.navbar-item.is-active {
    color: #fff;
}

.hero .hero-head .navbar .container>.navbar .navbar-menu, .navbar>.container .navbar-menu {
    margin-right: 0px;
}

.navbar-link.is-active, .navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, a.navbar-item.is-active, a.navbar-item:focus, 
a.navbar-item:focus-within, a.navbar-item:hover {
    background-color:rgba(0, 0, 0, 0.3);
    color: #000;
}

.hero-body h1 {
    font-size: 3.5em;
}

.hero-body h2 {
    font-size: 2em;
}

.hero-body h1,
.hero-body h2 {
    display: table;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);;
    color: #ffffff;
}

/* Brands */
@-webkit-keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(calc(-450px * 7));
              transform: translateX(calc(-450px * 7));
    }
  }

@keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(calc(-450px * 7));
              transform: translateX(calc(-450px * 7));
    }
  }


.slider {
    background: white;
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider::before, .slider::after {
    background: -webkit-gradient(linear, left top, right top, from(white), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
            transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}
  
.slider .slide-track {
    -webkit-animation: scroll 40s linear infinite;
            animation: scroll 40s linear infinite;
    display: -webkit-box;
    display: flex;
    width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    width: 250px;
}

hr {
    margin-right: 40%;
    margin-left: 40%;
    margin-top: 0px;
    margin-bottom: 1.5rem;
    background-color: #D4AF37;
}

.gallery {
    padding-top: 105px;
}

.box {
    padding: .25em;
}

.footer {
    background-color: #153A52;
}

.footer p,
.footer p strong {
    color: rgb(226, 226, 226);
}

.menu-ig-logo {
    width: 30px;
    margin-top: 10px;
}

.ig-logo {
    width: 50px;
}

/*** Gallery ***/

.diagonal-box {
    height: 1955px;
    margin: auto;
    background-image: linear-gradient(45deg, #054973, #082d44);
    transform: skewY(-11deg);
    outline: 2px dashed rgb(226, 226, 226);
    outline-offset: -15px;
} 

.diagonal-box:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, #654ea3, #eaafc8); 	
    transform: skewY(-11deg);
}

.diagonal-box-content {
    top: 35px;
    margin: auto;
    position: relative;
    transform: skewY(11deg);
    padding: 25px;
}

/* Pictures */

.gallery-img-1,
.gallery-img-2,
.gallery-img-3,
.gallery-img-4 {
    height: 450px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: .75em;
    padding: 0;
}

.gallery-img-1 {
    background-image: url("../images/gallery-img-1.jpg");    
}

.gallery-img-2 {
    background-image: url("../images/gallery-img-2.JPG");
}

.gallery-img-3 {
    background-image: url("../images/gallery-img-3.jpg");
}

.gallery-img-4 {
    background-image: url("../images/gallery-img-4.jpg");
}

#more {display: none;}

@media (min-width: 527px) {
    /* Brands */
    @-webkit-keyframes scroll {
        100% {
        -webkit-transform: translateX(calc(-320px * 7));
                transform: translateX(calc(-320px * 7));
        }
    }

    @keyframes scroll {
        100% {
        -webkit-transform: translateX(calc(-320px * 7));
                transform: translateX(calc(-320px * 7));
        }
    }

    
    .center-top-notif {
        width:400px !important; 
        margin-left: -200px !important; 
    }

    #more-btn, #less-btn, #dots {display: none;}
    #more {display: block;}



    .diagonal-box {
        height: 1740px;
    }

    .diagonal-box-content {
        top: 65px;
    }

    .gallery-img-1,
    .gallery-img-2,
    .gallery-img-3,
    .gallery-img-4 {
        height: 380px;
    }
}

@media (min-width: 769px) {
    /* Hero */
    .hero {
        padding-left: 0px;
        padding-right: 0px;
        background-image: url("../images/hero_severi.jpg");
        background-size: cover;
    }

    .center-top-notif {
        width: 600px !important; 
        margin-left: -300px !important; 
    }

    .diagonal-box { 
        height: 965px;
    }

    .diagonal-box-content {
        top: 75px;
    }

    #gallery-section > div > div > div > div.tile.is-parent {
        height: 750px;
    }

    .gallery-img-1,    
    .gallery-img-2,    
    .gallery-img-3 {
        height: auto;
    }
    

    .gallery-img-4 {
        height: 765px;
    }
}

@media (min-width: 1024px) {

    .diagonal-box { 
        height: 984px;
    }

    .diagonal-box-content {
        top: 85px;
    }

    .gallery-img-1 {
        margin: .75em;
        margin-right: 5px;
        margin-bottom: 5px;
        margin-left: 5px;
    }
    
    .gallery-img-2 {
        margin: .75em;
        margin-left: 5px;
        margin-bottom: 5px;
        margin-right: 5px;
    }
    
    .gallery-img-3 {
        margin: .75em;
        margin-right: 5px;
        margin-top: 5px;
        margin-left: 5px;
    }
    
    .gallery-img-4 {
        margin: .75em;
        height: 765px;
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (min-width: 1216px) {
    .diagonal-box { 
        height: 1020px;
    }

    .diagonal-box-content {
        top: 102px;
    }
}

@media (min-width: 1408px) {
    .hero {
        max-height: 700px !important; /* because we want to see partners as soon as it loads as well */
    }

    .diagonal-box { 
        height: 1050px;
    }

    .diagonal-box-content {
        top: 125px;
    }

    .contact-form {
        width: 450px;
        margin: auto !important;
    }
}